<%--
  Created by IntelliJ IDEA.
  User: liuqingdong
  Date: 2024/11/29
  Time: 11:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>


   <c:forEach items="${sessionScope.itemsList}" var="item">
       ${item.id} &nbsp;&nbsp;
       ${item.name}&nbsp;&nbsp;
       ${item.price}&nbsp;&nbsp;
       ${item.detail}

    <a href="${pageContext.request.contextPath}/deleteItems.action?ids=${item.id}">删除</a>

       <hr/>

   </c:forEach>
</body>
</html>
